/**
    这是小球跳舞的测试代码
*/

#ifndef __DANCE_LAYER__
#define __DANCE_LAYER__

#include "cocos2d.h"

#define STREAK_TAG 1
#define GREEN_BALL_SON_TAG 2

static const char s_streak[]              = "streak.png";

class DanceLayer:public cocos2d::Layer
{
public:
	virtual bool init() override;
	CREATE_FUNC(DanceLayer);	
	void onUpdate(float dt);
protected:

private:
	cocos2d::Sprite* greenBallSp;
	cocos2d::Sprite* greenBallSonSp;
};

#endif // !__DANCE_LAYER__